package org.dromara.apartment.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.apartment.domain.GraphInfo;
import org.dromara.apartment.domain.enums.ItemType;
import org.dromara.apartment.domain.vo.GraphInfoVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 图片信息Mapper接口
 *
 * @author ckj
 * @date 2025-06-19
 */
public interface GraphInfoMapper extends BaseMapperPlus<GraphInfo, GraphInfoVo> {

    /**
     * 查询图片列表  根据类型、id
     * @param itemType
     * @param id
     * @return
     */
    List<GraphInfoVo> selectListByItemTypeAndId(@Param("itemType") ItemType itemType, @Param("id") Long id);

}
